package com.lnsystem.service;

import java.util.List;

import com.lnsystem.model.StockDailyData;

public interface TechnicalIndicatorsService {

    /**
     * Calculates moving average for historical stock data in a StockDailyData list for a particular stock 
     * 
     * @param stockList - updated StockDailyData list with one or more newly added closing price
     * @param days  - SMA days
     */
	public void calculateSMA(List<StockDailyData> stockList, int days);
	
    /**
     * Calculates exponential moving average for historical stock data in a StockDailyData list for a particular stock 
     * 
     * @param stockList - updated StockDailyData list with one or more newly added closing price
     * @param days  - EMA days
     */
	public void calculateEMA(List<StockDailyData> stockList, int days);
	
	/**
	 * for all symbols, this will get today's data and calculate tech indicators.
	 */
	public void calculateBB(List<StockDailyData> stockList, int maDays, double numDev);


	
}
